﻿
@{
    ViewBag.Title = "Detail";
    Layout = "~/Views/Shared/_LayoutFront.cshtml";
}
@using Blog190311.Models.DBModel
@model Article
<aside>
    <div class="l_box">
        <div class="search">
            <form action="/e/search/index.php" method="post" name="searchform" id="searchform">
                <input name="keyboard" id="keyboard" class="input_text" value="请输入关键字词" style="color: rgb(153, 153, 153);" onfocus="if(value=='请输入关键字词'){this.style.color='#000';value=''}" onblur="if(value==''){this.style.color='#999';value='请输入关键字词'}" type="text">
                <input name="show" value="title" type="hidden">
                <input name="tempid" value="1" type="hidden">
                <input name="tbname" value="news" type="hidden">
                <input name="Submit" class="input_submit" value="搜索" type="submit">
            </form>
        </div>
        <div class="fenlei">
            @Html.Action("MyWord", "PartialView")
        </div>
        <div class="tuijian">
            @Html.Action("MyTuiJian", "PartialView")
        </div>
        <div class="tuijian">
            @Html.Action("MyClick", "PartialView")
        </div>
        <div class="cloud">
            @Html.Action("MyCloud", "PartialView")
        </div>
        <div class="guanzhu">
            <h2>关注我 么么哒</h2>
            <ul>
                <img src="~/images/wx.jpg">
            </ul>
        </div>
    </div>
</aside>
<div class="infosbox">
    <main>
        <div class="newsview">
            <h3 class="news_title">@Model.Title</h3>
            <div class="bloginfo">
                <ul>
                    <li class="author">作者：<a href="/">@Model.Source</a></li>
                    <li class="lmname"><a href="/">@Model.Type</a></li>
                    <li class="timer">@Model.PubTime</li>
                    <li class="view">@Model.ReadTimes</li>
                </ul>
            </div>
            <div class="tags"><a href="/" target="_blank">@Model.Tags</a> &nbsp; <a href="/" target="_blank">小世界</a></div>
            <div class="news_about"><strong>简介：</strong>@Model.SimpleInfo</div>
            <div class="news_con">
                @Model.Cont
                &nbsp;
            </div>
        </div>
        <div class="share">
            <p class="diggit">
                <a href="JavaScript:makeRequest('/e/public/digg/?classid=3&amp;id=19&amp;dotop=1&amp;doajax=1&amp;ajaxarea=diggnum','EchoReturnedText','GET','');"> 很赞哦！ </a>(<b id="diggnum">
                    <script type="text/javascript" src="/e/public/ViewClick/?classid=2&id=20&down=5"></script>13
                </b>)
            </p>
        </div>
        <div class="nextinfo">
            @if (ViewBag.prev == null)
            {
                <p>上一篇：<a href="/Article/Index?con=&page=1&limit=10">返回列表</a></p>
            }
            else
            {
                <p>上一篇：<a href="/Article/Detail/@ViewBag.prev.Id">@ViewBag.prev.Title</a></p>
            }@if (ViewBag.next == null)
            {
                <p>下一篇：<a href="/Article/Index?con=&page=1&limit=10">返回列表</a></p>
            }
            else
            {
                <p>下一篇：<a href="/Article/Detail/@ViewBag.next.Id">@ViewBag.next.Title</a></p>
            }
        </div>
    </main>
</div>